package sugarcookie.media {
	public class VideoSourceConstants {
		//playback states
		public static const PLAYBACK_COMPLETE:String = "PLAYBACK_COMPLETE";
		public static const STREAM_READY:String = "STREAM_READY";
		public static const CONNECTION_FAILED:String = "CONNECTION_FAILED";
		public static const ERROR:String = "ERROR";
		public static const META_DATA:String = "META_DATA";
		public static const CUE_POINT:String = "CUE_POINT";
		public static const STATUS_CHANGE:String = "STATUS_CHANGE";
		public static const LOAD_PROGRESS:String = "LOAD_PROGRESS";
		public static const BUFFERING:String = "BUFFERING";
		public static const QUALITY_CHANGE:String = "QUALITY_CHANGE";
		
		//YouTube video qualities
		public static const QUALITY_LEVELS_AVAILABLE:String = "QUALITY_LEVELS_AVAILABLE";
		public static const SMALL:String = "small";
		public static const MEDIUM:String = "medium";
		public static const LARGE:String = "large";
		public static const HD720:String = "hd720";
		public static const HD1080:String = "hd1080";
		public static const YOUTUBE_QUALITY_TITLE:Object = {
			small:"240p",
			medium:"360p",
			large:"480p",
			hd720:"720p",
			hd1080:"1080p"
		};
	}
}